/**
 * 基础路由
 * @type { *[] }
 */

const homePageRoutes = [
  {
    name: 'dashboard',
    path: '/',
    meta: {
      title: '仪表盘',
      icon: 'icon-dashboard',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/dashboard/index.vue'),
  },
  {
    name: 'game',
    path: '/game',
    meta: {
      title: '游戏管理',
      icon: 'icon-settings',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/game/index.vue'),
  },
  {
    name: 'anchor',
    path: '/anchor',
    meta: {
      title: '主播管理',
      icon: 'icon-relation',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/anchor/index.vue'),
  },
  {
    name: 'wx',
    path: '/wx',
    meta: {
      title: '微信号管理',
      icon: 'icon-user',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/wx/index.vue'),
  },
  {
    name: 'user',
    path: '/user',
    meta: {
      title: '用户管理',
      icon: 'icon-user',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/user/index.vue'),
  },
  {
    name: 'system',
    path: '/system',
    meta: {
      title: '系统配置',
      icon: 'icon-settings',
      type: 'M',
      affix: true
    },
    component: () => import('@/views/system/index.vue'),
  },
]


export default homePageRoutes